package com.cc.crm.service.impl;

import com.cc.crm.mapper.AuthorityMapper;
import com.cc.crm.pojo.Authority;
import com.cc.crm.service.AuthorityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @program:
 * @ClassName:
 * @description:
 * @author: zgc
 * @date:
 * @Version 1.0
 **/
@Service
public class AuthorityServiceImpl implements AuthorityService {
    @Resource
    private AuthorityMapper authorityMapper;

    @Override
    public List<Authority> selectAuthorities(Authority authority) {
        return authorityMapper.selectAuthorities(authority);
    }
}
